All Questions
Tagged with shared-memoryprocess
4 questions
0votes
1answer
72views
Can a process share unused memory with others?
I want to run about 200 processes with my experiments. Every of them really needs less than a GB: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 24688 rinkman 20 0 ...
1vote
1answer
7kviews
How does a process and its children use memory in case of mmap()?
Let's say, we are creating a shared memory using mmap(). Let's say the total memory size is 4096. If we use a fork() system call to create children, would the children use the same memory, or will ...
2votes
1answer
938views
Processor not seeing changes to POSIX shared memory?
Context: I am using POSIX shared memory to provide a set of processes with a shared memory space. I have used this scheme for some time now in order to share data, and it's working okay. However, I ...
1vote
1answer
1kviews
Across systems, How a process communicate with other process?
I have learnt below IPC mechanisms, BSD style half-duplex pipes SYSV style message queues SYSV style semaphore sets SYSV style shared memory segments BSD style sockets Half-duplex pipe can be used as ...